home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
util
/
wb
/
SetFPVars.lha
/
SetFPVars
/
InstallMe
next >
Wrap
Text File
|
2002-04-30
|
3KB
|
159 lines
; $VER: InstallMe V1.0 by Nightshade (30.04.2002)
assign InstallMe: ""
echo "Wähle deine Sprache aus!*NChoose your language!"
echo "[D]eutsch - [E]nglish - [x] = Ende/Quit: " noline
InstallMe:Bin/readstr >env:lang
if $lang
if $lang eq d
skip start_inst
endif
if $lang eq e
skip start_inst
else
echo "Falsche Eingabe..."
echo "Input was wrong..."
skip end
endif
else
echo "Nix gewählt!*NNothing selected!"
skip end
endif
lab start_inst
if $lang not eq x
if $lang eq d
echo "[I]nstallieren oder [D]einstallieren? " noline
InstallMe:Bin/readstr >env:mode
if $mode
if $mode eq i
skip install_de
endif
if $mode eq d
skip deinstall_de
else
echo "Falsche Eingabe..."
skip end
endif
else
echo "Abgebrochen..."
skip end
endif
endif
if $lang eq e
echo "[I]nstall oder [U]einstall? " noline
InstallMe:Bin/readstr >env:mode
if $mode
if $mode eq i
skip install_eng
endif
if $mode eq u
skip deinstall_eng
else
echo "Input was wrong..."
skip end
endif
else
echo "Abort..."
skip end
endif
endif
else
echo "Installation abgebrochen*NInstallation canceled"
skip end
endif
lab install_de
echo "Kopiere nach Sys:Prefs/"
copy InstallMe:Progs/SetFPVars to Sys:Prefs/ clone
copy InstallMe:Icon/Palette.info to Sys:Prefs/SetFPVars.info clone
copy InstallMe:Gfx/reg#? to s: clone
copy InstallMe:Bin/coldreboot to c: clone
ask "*"Gui4Cli*" und *"Gui*" nach C: kopieren? (y/n) "
if warn
copy InstallMe:Bin/Gui#? to c: clone
else
echo "*"Gui4Cli*" und *"Gui*" werden nicht kopiert."
endif
ask "Fonts mit kopieren? (y/n) "
if warn
copy InstallMe:Fonts/#? to Fonts: clone all
else
echo "Fonts werden nicht kopiert."
endif
echo "Installation beendet!"
skip end
lab install_eng
echo "Copy to Sys:Prefs/"
copy InstallMe:Progs/SetFPVars_Eng to Sys:Prefs/SetFPVars clone
copy InstallMe:Icon/Palette.info to Sys:Prefs/SetFPVars.info clone
copy InstallMe:Gfx/reg#? to S: clone
copy InstallMe:Bin/coldreboot to c: clone
ask "Copy *"Gui4Cli*" and *"Gui*" to C:? (y/n) "
if warn
copy InstallMe:Gui#? to c: clone
else
echo "*"Gui4Cli*" and *"Gui*" will not copied."
endif
ask "Copying Fonts? (y/n)"
if warn
copy InstallMe:Fonts/#? to Fonts: clone all
else
echo "Fonts will not copied."
endif
echo "Installation finished!"
skip end
lab deinstall_de
echo "Deinstalliere SetFPVars ..."
skip del
lab deinstall_eng
echo "Deinstall SetFPVars ..."
skip del
lab del
delete Sys:Prefs/SetFPVars#?
delete S:regsel
delete S:regunsel
lab end
Echo "*N©2002 by Nightshade (thenightshade@freenet.de)"
assign InstallMe: remove
unsetenv lang
unsetenv mode
unsetenv instpath
wait 5
quit